package com.es.service;

import com.es.domain.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 描述:
 * es-meta-
 *
 * @author Derek
 * @create 2021-11-29 11:13
 */
public interface StudentServiceI {
    /**
     * @param student
     * @return
     */
    int save(Student student);

    /**
     * @param student
     * @return
     */
    int update( Student student);

    /**
     * @param id
     * @return
     */
    int delete(@Param("id") Integer id);

    /**
     * @param id
     * @return
     */
    Student get(@Param("id") Integer id);

    /**
     * @return
     */
    List<Student> list();
}
